﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace StoreIModels
{
    /// <summary>
    /// 分类相册表
    /// </summary>
    [Table("SystematicModel")]
    public class SystematicModel
    {
        /// <summary>
        /// 分类相册Id
        /// </summary>
        [Key]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int SystematicId { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? SystematicName { get; set; }
        /// <summary>
        /// 分类状态 1启用 2停用
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int ClassificationStatus { get; set; }
        /// <summary>
        /// 照片数量
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int SystematicNumber { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int Systematicsort { get; set; }
    }
}
